/* File: Container.h
 * Author: Eliana Feasley & Mark Pallone
 * Date: 6/17/11
 * Email: elf4@umbc.edu , markpa1@umbc.edu
 *
 * Container (bowl, cone) for an ice cream treat.
 */

#ifndef CONTAINER_H
#define CONTAINER_H

#include <string>

class Container {

  public:
   //-------------------------------------------------
   // Name: Container
   // PreCondition: price must be zero or positive
   // PostCondition: instantiates a Container object
   //-------------------------------------------------   
   Container(string size, string type, double price);

   //-------------------------------------------------
   // Name: getSize - get the size of the container
   // PreCondition: none
   // PostCondition: returns the size of the Container
   //-------------------------------------------------
   string getSize();

   //-------------------------------------------------
   // Name: getType - get the type of the container
   // PreCondition: none
   // PostCondition: returns the type of the Container
   //-------------------------------------------------
   string getType();

   //-------------------------------------------------
   // Name: getPrice - get the price of the container
   // PreCondition: none
   // PostCondition: returns the price of the Container
   //-------------------------------------------------
   double getPrice();

   //-------------------------------------------------
   // Name: setSize - set the size of the container
   // PreCondition: none
   // PostCondition: sets the size of the Container
   //-------------------------------------------------   
   void setSize(string size);

   //-------------------------------------------------
   // Name: setType - set the type of the container
   // PreCondition: none
   // PostCondition: sets the type of the Container
   //-------------------------------------------------   
   void setType(string type);

   //-------------------------------------------------
   // Name: setPrice - set the price of the container
   // PreCondition: price must be zero or positive
   // PostCondition: sets the price of the Container
   //-------------------------------------------------   
   void setPrice(double price);

  private:
   string size;
   string type;             // waffle, double, etc.
   double price;
   

};

#endif
